package org.itstack.demo.design.event.listener;

import org.itstack.demo.design.LotteryResult;

/**
 * @Author: fanYuLe
 * @CreateTime: 2023-12-28  11:13
 * @Description: 事件监听接⼝定义
 * 接⼝中定义了基本的事件类，这⾥如果⽅法的⼊参信息类型是变化的可以使⽤泛型 <T>
 */
public interface EventListener {

    void doEvent(LotteryResult result);
}
